package com.wanmait.recruit.pojo;

import java.io.Serializable;

public class CompanyPosition implements Serializable {
    private Integer id;

    /**
	* 岗位名称
	*/
    private String name;

    /**
	* 公司id
	*/
    private Integer companyId;
    private Company company;

    /**
	* HRid
	*/
    private Integer personId;
    private Person person;

    /**
	* 职位类型id
	*/
    private Integer positionTypeId;
    private PositionType positionType;

    /**
	* 职位id
	*/
    private Integer positionId;
    private Position position;

    /**
	* 城市id
	*/
    private Integer cityId;
    private City city;

    /**
	* 工作性质ID
	*/
    private Integer positionAttrId;
    private PositionAttr positionAttr;

    /**
	* 技能要求
	*/
    private String skillRequest;

    /**
	* 最高薪资
	*/
    private Integer salaryMax;

    /**
	* 最低薪资
	*/
    private Integer salaryMin;

    /**
	* 工作经验
	*/
    private Integer workTimeId;
    private WorkTime workTime;

    /**
	* 学历
	*/
    private Integer educationalBackgroundTypeId;
    private EducationalBackgroundType educationalBackgroundType;

    /**
	* 职位描述
	*/
    private String positionDescription;

    public Company getCompany() {
        return company;
    }

    public void setCompany(Company company) {
        this.company = company;
    }

    public Person getPerson() {
        return person;
    }

    public void setPerson(Person person) {
        this.person = person;
    }

    public PositionType getPositionType() {
        return positionType;
    }

    public void setPositionType(PositionType positionType) {
        this.positionType = positionType;
    }

    public Position getPosition() {
        return position;
    }

    public void setPosition(Position position) {
        this.position = position;
    }

    public City getCity() {
        return city;
    }

    public void setCity(City city) {
        this.city = city;
    }

    public PositionAttr getPositionAttr() {
        return positionAttr;
    }

    public void setPositionAttr(PositionAttr positionAttr) {
        this.positionAttr = positionAttr;
    }

    public WorkTime getWorkTime() {
        return workTime;
    }

    public void setWorkTime(WorkTime workTime) {
        this.workTime = workTime;
    }

    public EducationalBackgroundType getEducationalBackgroundType() {
        return educationalBackgroundType;
    }

    public void setEducationalBackgroundType(EducationalBackgroundType educationalBackgroundType) {
        this.educationalBackgroundType = educationalBackgroundType;
    }

    private Boolean enable;


    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public Integer getPersonId() {
        return personId;
    }

    public void setPersonId(Integer personId) {
        this.personId = personId;
    }

    public Integer getPositionTypeId() {
        return positionTypeId;
    }

    public void setPositionTypeId(Integer positionTypeId) {
        this.positionTypeId = positionTypeId;
    }

    public Integer getPositionId() {
        return positionId;
    }

    public void setPositionId(Integer positionId) {
        this.positionId = positionId;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public Integer getPositionAttrId() {
        return positionAttrId;
    }

    public void setPositionAttrId(Integer positionAttrId) {
        this.positionAttrId = positionAttrId;
    }

    public String getSkillRequest() {
        return skillRequest;
    }

    public void setSkillRequest(String skillRequest) {
        this.skillRequest = skillRequest;
    }

    public Integer getSalaryMax() {
        return salaryMax;
    }

    public void setSalaryMax(Integer salaryMax) {
        this.salaryMax = salaryMax;
    }

    public Integer getSalaryMin() {
        return salaryMin;
    }

    public void setSalaryMin(Integer salaryMin) {
        this.salaryMin = salaryMin;
    }

    public Integer getWorkTimeId() {
        return workTimeId;
    }

    public void setWorkTimeId(Integer workTimeId) {
        this.workTimeId = workTimeId;
    }

    public Integer getEducationalBackgroundTypeId() {
        return educationalBackgroundTypeId;
    }

    public void setEducationalBackgroundTypeId(Integer educationalBackgroundTypeId) {
        this.educationalBackgroundTypeId = educationalBackgroundTypeId;
    }

    public String getPositionDescription() {
        return positionDescription;
    }

    public void setPositionDescription(String positionDescription) {
        this.positionDescription = positionDescription;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", companyId=").append(companyId);
        sb.append(", personId=").append(personId);
        sb.append(", positionTypeId=").append(positionTypeId);
        sb.append(", positionId=").append(positionId);
        sb.append(", cityId=").append(cityId);
        sb.append(", positionAttrId=").append(positionAttrId);
        sb.append(", skillRequest=").append(skillRequest);
        sb.append(", salaryMax=").append(salaryMax);
        sb.append(", salaryMin=").append(salaryMin);
        sb.append(", workTimeId=").append(workTimeId);
        sb.append(", educationalBackgroundTypeId=").append(educationalBackgroundTypeId);
        sb.append(", positionDescription=").append(positionDescription);
        sb.append(", enable=").append(enable);
        sb.append("]");
        return sb.toString();
    }
    public String toString2() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", companyId=").append(company.getId());
        sb.append(", personId=").append(person.getId());
        sb.append(", positionTypeId=").append(positionType.getId());
        sb.append(", positionId=").append(position.getId());
        sb.append(", cityId=").append(city.getId());
        sb.append(", positionAttrId=").append(positionAttr.getId());
        sb.append(", skillRequest=").append(skillRequest);
        sb.append(", salaryMax=").append(salaryMax);
        sb.append(", salaryMin=").append(salaryMin);
        sb.append(", workTimeId=").append(workTime.getId());
        sb.append(", educationalBackgroundTypeId=").append(educationalBackgroundType.getId());
        sb.append(", positionDescription=").append(positionDescription);
        sb.append(", enable=").append(enable);
        sb.append("]");
        return sb.toString();
    }
}